package com.unicom.office.dataitem;

import com.unicom.office.type.BooleanTypeItem;
import com.unicom.office.var.VarItem;

public class BooleanDataItem extends DataItem {
    public BooleanDataItem(Object value, VarItem config) {
        super(value, config);
    }

    public static BooleanDataItem createTrue(){
        return new BooleanDataItem(true, BooleanTypeItem.INSTANCE.createVarItem("boolean"));
    }

    public static BooleanDataItem createFalse(){
        return new BooleanDataItem(false, BooleanTypeItem.INSTANCE.createVarItem("boolean"));
    }
}
